package com.wangjiacai.hqlQuery.configuration;

import com.wangjiacai.hqlQuery.repository.BaseRepository;
import com.wangjiacai.hqlQuery.repository.impl.EntityManagerBaseRepositoryImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/*
 * @auther: wangjiacai
 *
 * @create: 2019-01-27 14:47:17
 */
@Configuration
public class HqlQueryConfiguration {

    @Bean
    public BaseRepository baseRepository(){
        return new EntityManagerBaseRepositoryImpl();
    }


}
